import React,{Component} from 'react'

export default class Child extends Component {
    render(){
        const {match} = this.props // 根据props 接收路由参数
        return(
            <div>
                {match.params.id}
            </div>
        )
    }
}